﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DAL
{
   public interface IDALCustomer : IDisposable
   {
       IEnumerable<Customer> GetCustomers();

       Customer GetCustomerByID(int customerID);
       Customer GetCustomerByName(string customerName);
       Customer CheckLoginCredentials(string username, string password);

       void InsertCustomer(Customer customer);
       void DeleteCustomer(int customerID);
       void UpdateCustomer(Customer customer);

       int Save();
   }
}